<div class="form-group regex">
    <span class="hintbox-label">
      <label for="visEditorRawJson{{agg.id}}">
        JSON Input
        <kbn-info
          placement="right"
          info='Any JSON formatted properties you add here will be merged with the elasticsearch aggregation definition for this section. For example "shard_size" on a terms aggregation.'>
        </kbn-info>
      </label>
    </span>
  <p>
    <textarea
      type="text"
      id="visEditorRawJson{{agg.id}}"
      class="form-control"
      ng-model="agg.params.json"
      validate-json
      ></textarea>
  </p>
</div>
